package com.zzxy.spring2hkl.service.impl;

import com.zzxy.spring2hkl.service.IStudentService;
import org.springframework.stereotype.Service;

@Service("stuService")
public class StudentServiceImpl implements IStudentService {


    @Override
    public void addStudent(){
        System.out.println("add student success ...");
    }


    @Override
    public void deleteStudent(){
        System.out.println("delete student success ...");}

    // * com.zzxy.spring2hkl.service.impl.*.*(..)
    // * com.zzxy.spring2hkl.service..*.*(..)

    //member.service
    // mall.service

    public int test(){
        int i =1 / 0;
        return 1;
    }
}
